package com.ruoyi.oa.service;

import com.ruoyi.oa.domain.OaFinanceSubmit;
import com.ruoyi.oa.domain.vo.OaFinanceSubmitVo;
import com.ruoyi.oa.domain.bo.OaFinanceSubmitBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.oa.domain.vo.OaFinanceTravelVo;
import com.ruoyi.oa.domain.vo.OaProjectVo;

import java.util.Collection;
import java.util.List;

/**
 * 费用报销Service接口
 *
 * @author xiaoyan
 * @date 2023-05-17
 */
public interface IOaFinanceSubmitService {

    /**
     * 查询费用报销
     */
    OaFinanceSubmitVo queryById(String id);

    /**
     * 查询费用报销列表
     */
    TableDataInfo<OaFinanceSubmitVo> queryPageList(OaFinanceSubmitBo bo, PageQuery pageQuery);

    /**
     * 查询费用报销列表
     */
    List<OaFinanceSubmitVo> queryList(OaFinanceSubmitBo bo);

    /**
     * 新增费用报销
     */
    OaFinanceSubmitBo insertByBo(OaFinanceSubmitBo bo);

    /**
     * 修改费用报销
     */
    OaFinanceSubmit updateByBo(OaFinanceSubmitBo bo);

    /**
     * 校验并批量删除费用报销信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);


    /**
     * 获取没有采购流程的项目信息
     * @return
     */
    List<OaProjectVo> getProjectList();


    public OaFinanceSubmitVo queryByProjectName(String projectName);
}
